/**
 * 全局变量定义，以及插件功能定义
 * @type {null}
 */ 
//潘钱版
//http://59.173.238.34:10040
//n2.geoServerProt = "12317";
//n2.webGisProt = "10040";

//减灾ip  172.18.130.50    （端口号是一样的，无需更改）

n2.viewer = null;
//n2.webGisLocalhost ="192.168.1.108:3030";//本地测试
n2.webGisLocalhost ="59.173.238.34:3030";
//n2.webGisLocalhost ="192.168.1.103:3030";
//n2.mongonServer = "10.0.0.107:3036";  
//n2.geoServer = n2.webGisLocalhost+":"+n2.geoServerProt;//基础geoserver的wms服务
//n2.geoServer = '172.18.130.50:12317';
n2.geoServer = '59.173.238.34:12317';

n2.board = n2.webGisLocalhost + "/api/getDisaOfTime"; //所有震点
n2.billId = n2.webGisLocalhost + "/api/getProInfo"; //震点(id)的某类信息
n2.YingjiC = n2.webGisLocalhost +"/api/EmergRespon"; //应急响应所有信息

n2.titleId=n2.webGisLocalhost+"/api/getTile"; //获取标题
n2.getcountrys=n2.webGisLocalhost+"/api/getcountrys"; //获取周边县
n2.getTowns=n2.webGisLocalhost+"/api/getTowns"; //获取周边乡镇
n2.getRoads=n2.webGisLocalhost+"/api/getRoads"; //获取周边道路
n2.getAffectedPop=n2.webGisLocalhost+"/api/getAffectedPop"; //灾区人口
n2.getAffectedHouse=n2.webGisLocalhost+"/api/getAffectedHouse"; //灾区房屋
n2.getLocalReport=n2.webGisLocalhost+"/api/getLocalReport"; //获取地方上报灾情
n2.getAssessBuilding=n2.webGisLocalhost+"/api/getAssessBuilding"; //灾区房屋评估
n2.getHistEarth = n2.webGisLocalhost+"/api/getHistEarth"; //获取灾区历史地震
n2.getUSGS=n2.webGisLocalhost+"/api/getUSGS";//usgs

/*
n2.board = n2.webGisLocalhost+":"+n2.webGisProt+'/api/callTest';      //所有地震点 
n2.billId=n2.webGisLocalhost+":"+n2.webGisProt+'/api/EQ_baseinfo';	//某地震一点（id）位基本信息
n2.YingjiC = n2.webGisLocalhost+":"+n2.webGisProt+'/api/EQ_special_respose';    //应急响应所有灾种
n2.YingjiXY = n2.webGisLocalhost+":"+n2.webGisProt+'/api/EQ_special_respose_certain'; //应急响应所有灾种  *
/api/EQ_geoJsonTile  //tms接口
n2.tileServer = n2.webGisLocalhost+":"+n2.webGisProt+'/api/callpng';  //tms  * 目前没用到
n2.YingjiT = n2.webGisLocalhost+":"+n2.webGisProt+'/api/EQ_respose_info';  //eq_ID   *  2级
n2.disaster=n2.webGisLocalhost+":"+n2.webGisProt+'/api/EQ_disaster';	//某地震一点（id）位所有信息 周边城市   2级
n2.building = n2.webGisLocalhost+":"+n2.webGisProt+'/api/EQ_building_structure'; //房屋结构 目前没用到
n2.Loss = n2.webGisLocalhost+":"+n2.webGisProt+'/api/EQ_assess';  //损失评估   2级
n2.history = n2.webGisLocalhost+":"+n2.webGisProt+'/api/EQ_historyEarthquake';  //历史地震  --- 当前年份   2级
n2.Usgu = n2.webGisLocalhost+":"+n2.webGisProt+'/api/EQ_USGS';    //usgs  数据展示   2级  
*/

n2.config={
	"n2.rightBtn": {
        namec: "右侧功能按钮",
        namee: "rightBtn",
        url: "./plugin/rightBtn.js"
   },
    "n2.billboard": {
        namec: "billboard处理",
        namee: "billboard",
        url: "./plugin/billboard.js"
    },
    "n2.tms": {
        namec: "TMS服务",
        namee: "tsm",
        url: "./plugin/tms.js"
    },
    "n2.yingji": {
        namec: "应急响应",
        namee: "yingji",
        url: "./plugin/yingji.js"
    },
    "n2.layerControl": {
        namec: "图层控制",
        namee: "layerControl",
        url: "./plugin/imageryLayerControl.js"
    },
    "n2.simulate":{
    	namec:"测试模拟数据",
    	namee:"simulate",
    	url:"./plugin/simulate.js"
    }
}

